package com.fourth.shopping.service.impl;

import com.fourth.shopping.mapper.AdministratorMapper;
import com.fourth.shopping.dto.AdminUserTable;
import com.fourth.shopping.service.AdminUserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;


@Service
public class AdminUserServiceImpl implements AdminUserService {
    @Resource
    AdministratorMapper administratorMapper;
    @Override
    public List<AdminUserTable> getAllAdmin() {
        return administratorMapper.getAllAdmin();
    }
}
